package org.zgflex.desktop
{
	/**
	 * The interface to be implemented by all iterators.
	 * @author dankok
	 * 
	 */
	public interface IIterator
	{
		/**
		 * Resets a collection.
		 * 
		 */		
		function reset():void;
		
      	/**
      	 * Gets a next element in the collection.
      	 * @return 
      	 * 
      	 */		
      	function next():Object;
      	
 	 	/**
 	 	 * Checks if these are more elements in the collection.
 	 	 * @return 
 	 	 * 
 	 	 */      	
 	 	function hasNext():Boolean;
	}
}